package com.traffic.api.service.impl;

import com.traffic.api.dao.SmsInfoMapper;
import com.traffic.api.entity.SmsInfo;
import com.traffic.api.service.BaseService;
import com.traffic.api.service.SMSInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by churcy on 2017/3/2.
 */
@Service
public class SMSInfoServiceImpl extends BaseServiceImpl<SmsInfo,Integer> implements SMSInfoService{

    @Autowired
    private SmsInfoMapper smsInfoMapper;

    @Override
    public List<SmsInfo> findByConditions(Map<String, Object> conditions) {
        return smsInfoMapper.findByConditions(conditions);
    }
}
